package com.ss.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ss.dao.ISysUserDao;
import com.ss.model.TSysuser;
import com.ss.service.ISysUserService;

@Transactional
@Service("sysUserService")
public class SysUserServiceImpl implements ISysUserService{
	@Autowired
	private ISysUserDao sysUserDao;
	
	@Override
	public boolean isExist(TSysuser su) {
		return sysUserDao.isExist(su);
	}

	@Override
	public List<TSysuser> getSysuserList(int page, int rows) {
		return sysUserDao.getSysuserList(page, rows);
	}
	
}
